package com.softline.documentsmall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.softline.documentsmall.entity.RelateJournalArtical;
import feign.Param;
import org.mapstruct.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface RelateJournalArticalMapper extends BaseMapper<RelateJournalArtical> {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(RelateJournalArtical record);

    RelateJournalArtical selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RelateJournalArtical record);

    int updateByPrimaryKey(RelateJournalArtical record);

    List<Map<String, Object>> selectListByName(@Param("name") String name);

    List<RelateJournalArtical> selectListLocal(@Param("title") String title, @Param("dictionaryId") Integer dictionaryId, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    Long selectLocalCount(@Param("title")String title,@Param("dictionaryId")Integer dictionaryId);

}
